﻿using System;
using IWMAG.Core.EnhancedProperties.PropertyNodes;
namespace IWMAG.Core.EnhancedProperties.ResourceProperties
{
    public class StaticResource<T> : IResource<T>
    {
        internal StaticResource(T value)
        {
            this._val = value;
        }

        private readonly T _val;
        public T Value
        {
            get
            {
                return _val;
            }
        }


    void IResource<T>.AddObserver(IResourceObserver<T> resourceIndirectNode) { }

    void IResource<T>.RemoveObserver(IResourceObserver<T> oldObserver) { }
    }
}
